<%@ page contentType="text/html; charset=UTF-8" import="java.util.*" %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>添加任务</title>
<link rel="stylesheet" rev="stylesheet" href="../css/files/style.css" type="text/css" media="all" />


<script language="JavaScript" type="text/javascript">
function tishi()
{
  var a=confirm('数据库中保存有该人员基本信息，您可以修改或保留该信息。');
  if(a!=true)return false;
  window.open("冲突页.htm","","depended=0,alwaysRaised=1,width=800,height=400,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0");
}

function check()
{
document.getElementById("aa").style.display="";
}


function link(){
alert('保存成功！');
    document.getElementById("fom").action="xuqiumingxi.htm";
   document.getElementById("fom").submit();
}



</script>
<style type="text/css">
<!--
.atten {font-size:12px;font-weight:normal;color:#F00;}
-->
</style>
</head>

<body class="ContentBody">
  <form action="addtarget.action" method="post" enctype="multipart/form-data" name="fom" id="fom" target="mainFrame" >
<div class="MainDiv">
<table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
  <tr>
      <th class="tablestyle_title" >目标添加页面</th>
  </tr>
  <tr>
    <td class="CPanel">
		
		<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
		<tr><td align="left">
		<input type="submit" name="Submit" value="保存" class="button" />　
			
			<input type="button" name="Submit2" value="返回" class="button" onclick="window.history.go(-1);"/>
		</td></tr>

		<TR>
			<TD width="100%">
				<fieldset style="height:100%;">
				<legend>添加目标</legend>
					  <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
					 
					  <tr>
					    <td nowrap align="right" width="13%">目标标题:</td>
					    <td width="41%"><input name="name" class="text" style="width:250px" type="text" size="40" />
				        <span class="red"> *</span></td>
					    <td nowrap align="right">所属项目：
     </td>
					    <td> <select name="projectId">
					     <c:forEach var="project" items="${list}" >
                             <option value="${project.id }">${project.name }</option>
                        </c:forEach>  
                             </select>
                         </td>
					    </tr>
					  <tr>
					   
					    <td align="right">创建日期：   
													</td>
					    <td> <script language="javascript" type="text/javascript" src="../datepicker/WdatePicker.js">
</script>										
				<input type="text" name="createTimeStr"
			onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
				class="Wdate" /></td>
				 <td nowrap align="right">截止日期：        </td>
					    <td> <script language="javascript" type="text/javascript" src="datepicker/WdatePicker.js">
</script>										
				<input type="text" name="dueDateStr"
			onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
				class="Wdate" /></td>
					  </tr>
					 
					  <tr>
					    <td nowrap align="right" height="100px">目标描述:</td>
					    <td ><textarea id="textarea" name="description" rows="6" cols="40"></textarea></td>
					   <td nowrap align="right" height="100px">备注:</td>
					    <td ><textarea id="textarea" name="note" rows="6" cols="40"></textarea></td>
					    </tr>
					  </table>
			 <br />
				</fieldset>			</TD>
		</TR>
		
		</TABLE>
	
	
	 </td>
  </tr>
		
		
		<TR>
			<TD colspan="2" align="center" height="50px">
			<input type="submit" name="Submit" value="保存" class="button" />　
			
			<input type="button" name="Submit2" value="返回" class="button" onclick="window.history.go(-1);"/></TD>
		</TR>
		</TABLE>
	
	

</div>
</form>
</body>
</html>
